package com.ljc.service;

import com.ljc.entity.Expert;
import com.ljc.entity.ExpertGradeCount;
import com.ljc.vo.ExpertSearch;

import java.util.List;

public interface ExpertService {
    List<Expert> searchExpert(ExpertSearch expertSearch);
    List<ExpertGradeCount> getExpertGradeCount(int deanId);

    void addExpert(Expert expert);

    Expert findExpertById(int id);
    void updateExpert(Expert expert);
    void deleteExpert(int id);

    List<Expert> getActiveExpert(int deanId);

    Expert login(Expert expert);
}
